package com.m1.tzolkin.model.players;

import com.m1.tzolkin.model.util.player.Pawn;

public class Worker extends Pawn implements IWorker {
	
	// ATTRIBUTS
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1049466876600940917L;
	private ITZPlayer owner;
	
	// CONSTRUCTEUR
	
	public Worker() {
		super();
	}
	
	public Worker(ITZPlayer p) {
		this();
		owner = p;
	}
	
	// REQUETES

	@Override
	public ITZPlayer getOwner() {
		return owner;
	}
	
	// COMMANDES

	@Override
	public void setOwner(ITZPlayer p) {
		owner = p;
	}

}
